<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="zh">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
<title>个人信息</title>
<link rel="icon" href="favicon.ico" type="image/ico">
<meta name="keywords" content=" ">
<meta name="description" content=" ">
<meta name="author" content="yinqi">
<link href="${pageContext.request.contextPath}/static/css/bootstrap.min.css" rel="stylesheet">
<link href="${pageContext.request.contextPath}/static/css/materialdesignicons.min.css" rel="stylesheet">
<link href="${pageContext.request.contextPath}/static/css/style.min.css" rel="stylesheet">
</head>
  
<body>
<div class="container-fluid p-t-15">
  
  <div class="row">
    <div class="col-lg-12">
      <div class="card">
        <div class="card-body">
          
          <div class="edit-avatar">
            <img src="${pageContext.request.contextPath}/${user.avatar}" alt="..." class="img-avatar">
            <div class="avatar-divider"></div>
            <div class="edit-avatar-content">
              <button class="btn btn-default">头像</button>
              <p class="m-0"></p>
            </div>
          </div>
          <hr>
          <form method="post" action="#!" class="site-form">
            <div class="form-group">
              <label for="username">登录名</label>
              <input type="text" class="form-control" name="username" id="username" value="${user.loginname}" disabled="disabled" />
            </div>
            <div class="form-group">
              <label for="nickname">昵称</label>
              <input type="text" class="form-control" name="nickname" id="nickname" placeholder="" value="${user.nickname}" disabled="disabled">
            </div>
            <div class="form-group">
              <label for="email">邮箱</label>
              <input type="email" class="form-control" name="email" id="email" aria-describedby="emailHelp" placeholder="" value="${user.email}" disabled="disabled">
<%--              <small id="emailHelp" class="form-text text-muted">请保证您填写的邮箱地址是正确的。</small>--%>
            </div>
<%--            <div class="form-group">--%>
<%--              <label for="remark">简介</label>--%>
<%--              <textarea class="form-control" name="remark" id="remark" rows="3"></textarea>--%>
<%--            </div>--%>
<%--            <button type="submit" class="btn btn-primary">保存</button>--%>
          </form>
 
        </div>
      </div>
    </div>
    
  </div>
  
</div>

<script type="text/javascript" src="${pageContext.request.contextPath}/static/js/jquery.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/js/bootstrap.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/js/main.min.js"></script>
</body>
</html>